#ifndef MDX2_LIGHT_H_
#define MDX2_LIGHT_H_

#include <cstdint>
#include "Vector3D.h"
#include "MDX2_Animation.h"

// Types
#define LIGHT_DIRECTIONAL   0
#define LIGHT_POINT         1

// Description: Definitions of lights
// Count:  MDX2_Header->nLights
// Offset: MDX2_Header->ofsLights
struct MDX2_Light
{
    uint16_t Type;
    int16_t Bone;
    Vec3F Position;
    MDX2_ABlock AmbientColor;
    MDX2_ABlock AmbientIntensity;
    MDX2_ABlock DiffuseColor;
    MDX2_ABlock DiffuseIntensity;
    MDX2_ABlock AttenuationStart;
    MDX2_ABlock AttenuationEnd;
    MDX2_ABlock Unknown;
};

#endif // MDX2_LIGHT_H_